const express = require('express')
var router = express.Router()
const classcontroller = require('../controller/classcontroller')

//挂载路由
router.route("/class_view")
  .get(classcontroller.class_view)

router.route("/class_create")
  .post(classcontroller.class_create)

router.route("/class_delete")
  .post(classcontroller.class_delete)

router.route("/class_rename")
  .post(classcontroller.class_rename)

router.route("/class_search")
  .post(classcontroller.class_search)

module.exports = router